﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Senac.NetMob.Models
{
    [Table("Tb_Perfil")]
    public class Perfil : BaseModel
    {
        [Required]
        [StringLength(100, ErrorMessage = NetImobiliariaConstants.MESSAGE_ERROR_STRING_LENGTH)]
        public string Nome { get; set; }

        [StringLength(1000, ErrorMessage = NetImobiliariaConstants.MESSAGE_ERROR_STRING_LENGTH)]
        public string Descricao { get; set; }
    }
}
